import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    Login:{
      name:'',
      sex:'',
      idCard:'',
      phoneNumber:'',
      password:'',
      email:'',
  },
  tcid:'',
    id:"",
    id1:"",
    id2:"",
    tableaa:[],
    jkzx:{}
  },
  mutations: {
    Getjkzx(state,value){
      state.jkzx=value
    },
    Tmembershow(state,value){
      state.Login=value
    },
    Tcid(state,value){
      state.tcid=value
    },
    yuythree(state,value){
      state.tableaa=value
    },
    getusersInfo(state,paylode){
        Vue.set(state,"usersList",paylode)
    }
  },
  actions: {
    usersInfo(state,paylode){
      state.commit('getusersInfo',paylode)
    }
  },
  modules: {
  }
})
